//
//  BlueskyFundTableViewCell.m
//  GoodWayClient
//
//  Created by newhuidong on 16/1/5.
//  Copyright © 2016年 HuiDong. All rights reserved.
//

#import "BlueskyFundTableViewCell.h"

@interface BlueskyFundTableViewCell  ()
@property (weak, nonatomic) IBOutlet UILabel *buycleanSer;

@property (weak, nonatomic) IBOutlet UILabel *autoPresent;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;

@end

@implementation BlueskyFundTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
+(instancetype)blueskuFundWithTableView:(UITableView *)tableview{
    static NSString * identifer=@"cell";
    BlueskyFundTableViewCell*cell=[tableview dequeueReusableCellWithIdentifier:identifer];
    if (cell==nil) {
        
        cell=[[[NSBundle mainBundle]loadNibNamed:@"BlueskyFundTableViewCell" owner:nil options:nil]lastObject];
        
        cell.accessoryType=UITableViewCellAccessoryDisclosureIndicator;
    }
    
    return cell;
    
    
}
-(void)setDic:(NSDictionary *)dic{
    
    _dic=dic;
    
    self.buycleanSer.text=dic[@"UserName"];
    self.autoPresent.text=dic[@"From"];
    self.timeLabel.text=dic[@"CreateTime"];
    
    
}

@end
